package edu.sctu.practice.class02.shilaihong.text.text20;

/**
 * Created by admin on 2015/11/5.
 */
public class Car extends Vehicle {
   int a;
    int b;
    public  Car(int a,int b){
        this.a=a;
        this.b=b;
    }

    @Override
    public String NoOfwheels() {
        return "四轮车-----\n载重："+a+"\n体积："+b;
    }
}
